import React from 'react'
import { inject, observer } from 'mobx-react';
import DocumentTitle from "react-document-title";
@inject('routing')
@observer
class HospitalScene extends React.Component {

	constructor(props,context) {
		super(props,context);
		this.state = {
			title:'我是title'
		}
	  }

	componentWillMount() {
		// document.title = '我的'
	}
	  
	render() {
		return (
			<DocumentTitle title={this.state.title}>
			<div>
				<span><a href="http://192.168.31.216:3000/admin.html"  rel="noopener noreferrer">管理员入口</a></span>
				<p>Mine</p>
			</div>
			</DocumentTitle>
		)
	}
}

export default HospitalScene;